package com.leyou.dao;

import com.leyou.domain.db1entity.ConditionAndGoods;
import com.leyou.domain.db1entity.ConditionAndGoodsExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface ConditionAndGoodsMapper {
    long countByExample(ConditionAndGoodsExample example);

    int deleteByExample(ConditionAndGoodsExample example);

    int deleteByPrimaryKey(String conditionandgoodskey);

    int insert(ConditionAndGoods record);

    int insertSelective(ConditionAndGoods record);

    List<ConditionAndGoods> selectByExample(ConditionAndGoodsExample example);

    ConditionAndGoods selectByPrimaryKey(String conditionandgoodskey);

    int updateByExampleSelective(@Param("record") ConditionAndGoods record, @Param("example") ConditionAndGoodsExample example);

    int updateByExample(@Param("record") ConditionAndGoods record, @Param("example") ConditionAndGoodsExample example);

    int updateByPrimaryKeySelective(ConditionAndGoods record);

    int updateByPrimaryKey(ConditionAndGoods record);
}
